NBPConfirm
NBPConfirm
Check that a specified entity still exists ATNBPRecHandle abRecord; handle to an ATNBPRec Boolean async; 0=await completion; 1=immediate return NBPConfirm is part of the AppleTalk alternate interface. It is recommended NBPConfirm confirms that an entity known by name and address still exists in the names directory.
abRecord is a handle to an ATNBPRec structure. The relevant fields are as follows:
¨ abResult short 2 2 Result code
Æ abUserReference long 4 4 For your use
Æ nbpEntityPtr Ptr 4 0 Pointer to entity name ¨ nbpDataField short 2 10 Number of addresses received
ÆnbpAddress.aSocket AddrBlock 4 14 Socket address async is a Boolean value. Use FALSE for normal ( synchronous) operation or TRUE to enqueue the request and resume control immediately. See Async I/O.
noErr (0) No error
nbpNoConfirm (-1025) Name not confirmed
nbpConfDiff (-1026) Name confirmed at different socket
Notes: nbpEntityPtr points to a variable of type EntityName containing the name to confirm. (No meta- characters are allowed in the entity name.) The
socket number of the entity is returned in NBPDataField.
NBPRetransmitInfo contains the retry interval and the retry count.
traffic.